package iedcyt.acute.dataAccess.dao.maesorg;

import iedcyt.acute.dataAccess.domain.maesorg.RevistasEnEspanol;
import iedcyt.acute.dataAccess.generic.ResultSetGenericExtractor;
import java.sql.ResultSet;
import java.sql.SQLException;
import org.springframework.jdbc.core.ResultSetExtractor;

public class RevistasEnEspanolResultSetExtractor extends ResultSetGenericExtractor implements ResultSetExtractor<RevistasEnEspanol> {

	@Override
	public RevistasEnEspanol extractData(ResultSet rs) throws SQLException {
		
		RevistasEnEspanol wrF = new RevistasEnEspanol(getInteger(rs, 1), getInteger(rs, 2), rs.getString(3), rs.getString(4), rs.getString(5), rs.getString(6)
				, rs.getString(7), rs.getString(8));
				
		return wrF;
	}
}
